package com.infore.quartz.main.feign;


import com.infore.common.base.Msg;
import com.infore.common.constants.FeignConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = FeignConstants.SERVICE_ELECTRIC)
public interface ElectricDataFeign {
    @PostMapping(value = FeignConstants.ELECTRIC_PATH+"/tDwdElectricCoreData/batchAdd")
    Msg<Object> batchAdd();

    @GetMapping(value = FeignConstants.ELECTRIC_PATH+"/psPowerMonitorRtData/generateRtd")
    void generateRtd();
    @GetMapping(value = FeignConstants.ELECTRIC_PATH+"/psPowerMonitorHourData/statHourData")
    void statHourData();

}
